package com.huawei.appgallery.updatemanager.ui.cardkit.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.appgallery.updatemanager.ui.cardkit.card.UpdateRecordTitleCard;
import o.cdr;
import o.cih;
import o.czk$e;

public class UpdateRecordTitleNode extends cdr {
    protected LayoutInflater ˊ;

    public UpdateRecordTitleNode(Context context) {
        super(context, 1);
        this.ˊ = LayoutInflater.from(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
        View inflate = this.ˊ.inflate(czk$e.ʻ, null);
        cih updateRecordTitleCard = new UpdateRecordTitleCard(this.ॱ);
        updateRecordTitleCard.ˏ(inflate);
        ˊ(updateRecordTitleCard);
        viewGroup.addView(inflate, layoutParams);
        return true;
    }

    public boolean ˏॱ() {
        return false;
    }
}
